package com.xc.freeapp.service;

import java.util.List;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.Regpatient;
import com.xc.freeapp.exception.BaseException;

public interface RegpatientService {
	
	public int deleteByPrimaryKey(Integer id);

    public int insert(Regpatient record) throws BaseException ;


    public  Regpatient selectByPrimaryKey(Integer id);


    public int updateByPrimaryKey(Regpatient record);
    
    public List<Regpatient> selectByUserId(Integer  userid,PageBounds pageBounds) ;
    
 
    
    
}
